<%@ Language=VBScript %>
<%

if Request.Form("aplica") = "CxP" then
	Response.redirect "Tesoreria/Cons_CxP.asp"  & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1&total=1"
	
elseif Request.Form("aplica") = "Proveedor" then
	Response.redirect "Cons_Proveedor.asp"  & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&pagina=1&nroregistro=1&total=1"

elseif Request.Form ("aplica") = "TerCon" then
	Response.redirect "Cons_TerCon.asp"  & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&pagina=1&nroregistro=1&total=1"

elseif Request.Form ("aplica") = "Todas" then
	Response.redirect "Cons_Todas.asp" & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1"

elseif Request.Form ("aplica") = "SIP" then
	Response.redirect "Cons_SIP.asp" & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1&total=1"

elseif Request.Form ("aplica") = "Tasas" then
	Response.redirect "Tesoreria/Cons_Tasas.asp" & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1&total=1"

elseif Request.Form ("aplica") = "CxP_Flujo" then
	Response.redirect "Tesoreria/Cons_CxP_Flujo.asp" & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1&total=1"

elseif Request.Form ("aplica") = "Extcr" then
	Response.redirect "Extenciones.asp" & "?acreedor=" & Request.Form("acreedor") & "&aplica=" & Request.Form("aplica") & "&desde=" & Request.Form("desde") & "&hasta=" & Request.Form("hasta") & "&pagina=1&nroregistro=1&total=1"
end if
%>

